<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 松红
  Date: 2017/6/14
  Time: 14:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<style>
    img {
        width: 100px;
        height: 100px;
    }
</style>
<body>

头像：<img src=${user.userImg}><br/>
姓名:${user.userName}<br/>
密码：${user.userPassword}<br/>
<c:choose>
    <c:when test="${user.userClassId==0}">
        <a href="<%=request.getContextPath()%>/user/add">addUser</a>
    </c:when>
    <c:otherwise>
        班级：${user.userClassId}班<br/>
    </c:otherwise>
</c:choose>
<a href="<%=request.getContextPath()%>/student/list">返回</a>
</body>
</html>
